package com.rongxun.hbwallet.mvp.presenter;

import android.support.annotation.NonNull;

import com.rongxun.base.BasePresenter;
import com.rongxun.hbwallet.model.entity.DealInfo;
import com.rongxun.hbwallet.mvp.contract.IDealMessage;
import com.rongxun.hbwallet.mvp.model.ApiModel;

import java.util.ArrayList;
import java.util.List;

/**
 * 创建者     庄丰泽
 * 创建时间   2018/8/10 10:56
 * 描述
 */
public class DealMessagePresenter extends BasePresenter<IDealMessage.IView,ApiModel> implements IDealMessage.IPresenter {

    public DealMessagePresenter(@NonNull IDealMessage.IView pUi, @NonNull ApiModel pModel) {
        super(pUi, pModel);
    }

    @Override
    public void release() {

    }
    @Override
    public void setAdapterData() {
        List<DealInfo> mlist=new ArrayList<>();
        mlist.add(new DealInfo());
        mlist.add(new DealInfo());
        getView().setAdapterData(mlist);
    }
}
